package com.singularity.common.domain.entity;

import java.io.Serializable;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* 仓库物资库存表
* @TableName m_stock
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("m_stock")
public class MStock implements Serializable {

    /**
    * 
    */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
    * 物资ID
    */
    @ApiModelProperty("物资ID")
    private Integer materialId;
    /**
    * 仓库ID
    */
    @ApiModelProperty("仓库ID")
    private Integer warehouseId;
    /**
    * 现有库存
    */
    @ApiModelProperty("现有库存")
    private Double stockNum;
    /**
    * 未归还数量
    */
    @ApiModelProperty("未归还数量")
    private Double noreturnNum;
    /**
    * 最后更新日期
    */
    @ApiModelProperty("最后更新日期")
    private Date updatedAt;
    /**
    * 创建时间
    */
    @ApiModelProperty("创建时间")
    private Date createdAt;
}
